package com.brush.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.brush.app.domain.AppSuggestion;
import com.brush.app.domain.req.Suggestion.query.AppSuggestionQueryReq;
import com.brush.app.domain.resp.Suggestion.AppSuggestionResp;
import com.brush.app.service.AppSuggestionService;
import com.brush.app.mapper.AppSuggestionMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【app_suggestion(问题反馈)】的数据库操作Service实现
* @createDate 2024-10-31 16:44:55
*/
@Service
public class AppSuggestionServiceImpl extends ServiceImpl<AppSuggestionMapper, AppSuggestion>
    implements AppSuggestionService{

    @Override
    public PageInfo<AppSuggestionResp> paginationQuery(AppSuggestionQueryReq req) {
        return PageHelper.startPage(req.getPageNum(),req.getPageSize()).doSelectPageInfo(()->{
            this.baseMapper.paginationQuery(req);
        });
    }
}




